* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #f5f5f5;
}

.header {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    padding: 40px 20px 80px;
    position: relative;
    overflow: hidden;
}

.userinfo {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nickname {
    margin-top: 12px;
    font-size: 20px;
    font-weight: 500;
    color: white;
}

.content {
    margin-top: 4px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* 波浪动画 */
.corrugated {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    overflow: hidden;
}

.wave_item {
    position: absolute;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    background-position: 0 bottom;
    transform-origin: center bottom;
}

.wave_top {
    opacity: 0.3;
    animation: wave-animation 12s linear infinite;
    background-size: 50% 100px;
    z-index: 15;
    background-image: url("/assets/images/wave-top.png");
}

.wave_middle {
    opacity: 0.2;
    animation: wave-animation 8s linear infinite;
    background-size: 50% 120px;
    z-index: 10;
    background-image: url("/assets/images/wave-mid.png");
}

@keyframes wave-animation {
    0% {
        transform: translateX(0) translateZ(0) scaleY(1);
    }
    50% {
        transform: translateX(-25%) translateZ(0) scaleY(0.8);
    }
    100% {
        transform: translateX(-50%) translateZ(0) scaleY(1);
    }
}

/* 菜单样式 */
.menu_cell {
    margin: -40px 16px 16px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 20;
    overflow: hidden;
}

.item {
    position: relative;
    background: white;
}

.item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 1px;
    background: #e4e7ed;
}

.item a {
    display: flex;
    align-items: center;
    padding: 16px;
    color: #606266;
    text-decoration: none;
    transition: background-color 0.3s;
    background: url('/assets/images/order.png') no-repeat 16px center;
    background-size: 17px;
    padding-left: 44px;
}

.item a:active {
    background-color: #f5f5f5;
}

.title {
    flex: 1;
    font-size: 14px;
    color: #606266;
}

.icon {
    width: 12px;
    height: 24px;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
